package com.gxwz.document.business.service;

import java.util.Date;
import java.util.List;

import com.gxwz.document.business.entity.Literature;

public interface IliteratureService {
	
	public void saveLiterature(Literature literature);
	
	public List<Literature> findAll();
	
	/*public List<Literature> findByPage(int index, int pageSize);*/
	
	public void saveLit(Literature lit);

	public int getRowNum();

	public Literature findById(int litId);

	public void update(Literature lit);

	public void add(Literature lit);

	public void delete(int litId);

	List<Literature> findByPageOne(int index, int pageSize);

	public List<Literature> findByPageTwo(int index, int pageSize);

	public List<Literature> findByPageThree(int index, int pageSize);

	public void saveFileInfo(String uploadFileName, String savePath, String litType, String uploadContentType,String litGrade,String litTheme,Date  litUploadTime,double litSize);

	public List<Literature> findByPageJournalArticle(int index, int pageSize);

	public List<Literature> findByPageTreatise(int index, int pageSize);

	public List<Literature> findByPageProceedings(int index, int pageSize);

	public List<Literature> findByPageBachelorThesis(int index, int pageSize);

	public List<Literature> findByPageUndefined(int index, int pageSize);

	public List<Literature> findByOder(Literature literature, int index, int pageSize);
	
	public List<Literature> findDeletedo(int index, int pageSize);

	public List<Literature> findDeleted(int index, int pageSize);

	

	public List<Literature> findByPageZero(int index, int pageSize);

	public List<Literature> findByPageZeroDel(int index, int pageSize);

	public List<Literature> findByPageOneDel(int index, int pageSize);

	public List<Literature> findByPageTwoDel(int index, int pageSize);

	public List<Literature> findByPageThreeDel(int index, int pageSize);

	public List<Literature> findByPageJournalArticleDel(int index, int pageSize);

	public List<Literature> findByPageTreatiseDel(int index, int pageSize);

	public List<Literature> findByPageProceedingsDel(int index, int pageSize);

	public List<Literature> findByPageBachelorThesisDel(int index, int pageSize);

	public List<Literature> findByPageUndefinedDel(int index, int pageSize);

	public List<Literature> findByPage(int index, int pageSize);

	

}
